/**
 * @param {string} path
 * @return {string}
 */
var pathEncryption = function(path) {
    let arr = path.split(".");
    for(let i = 0;i < arr.length;i++) {
    
        if(arr[i]===".") {
            arr[i] = " ";
            console.log("path",arr[i])
        }
    }
    return arr.join(" ");
};
pathEncryption("a.aef.qerf.bb")